package com.easy.bean;

import java.math.BigDecimal;

public class Product {
    private Integer productid;
    private String name;
    private String productaddress;
    private BigDecimal price;
    private int isdel;
    private int categoryid;
    private Category category;
    private int status;
    private String imgurl;

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Integer getProductid() {
        return productid;
    }

    public void setProductid(Integer productid) {
        this.productid = productid;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProductaddress() {
        return productaddress;
    }

    public void setProductaddress(String productaddress) {
        this.productaddress = productaddress;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getIsdel() {
        return isdel;
    }

    public void setIsdel(int isdel) {
        this.isdel = isdel;
    }

    public int getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(int categoryid) {
        this.categoryid = categoryid;
    }

    @Override
    public String toString() {
        return "Product{" +
                "productid=" + productid +
                ", name='" + name + '\'' +
                ", productaddress='" + productaddress + '\'' +
                ", price=" + price +
                ", isdel=" + isdel +
                ", categoryid=" + categoryid +
                ", category=" + category +
                ", status=" + status +
                ", imgurl='" + imgurl + '\'' +
                '}';
    }
}
